package cn.iocoder.yudao.module.shop.controller.admin.opthistory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 每支价格 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Valid
@Data
public class ShopOptHistoryBaseVO {
    @Schema(description = "店铺订单id", example = "1")
    @NotNull(message="订单id不能为空")
    private Long orderId;

    @Schema(description = "标题", example = "123")
    @NotNull(message="标题不能为空")
    private String title;

    @Schema(description = "艾灸师id", example = "123")
    private Long userId;

    @Schema(description = "会员id", example = "123")
    private Long memberId;

    @Schema(description = "标签", example = "1，2，3")
    private String tags;

    @Schema(description = "姓名", example = "张三")
    @NotNull(message="姓名不能为空")
    private String name;

    @Schema(description = "性别", example = "1")
    @NotNull(message="性别不能为空")
    private Integer sex;

    @Schema(description = "年龄", example = "1")
    @NotNull(message="年龄不能为空")
    private Integer age;

    @Schema(description = "体重", example = "1")
    private Integer weight;

    @Schema(description = "电话", example = "1")
    @NotNull(message="电话不能为空")
    private String phone;

    @Schema(description = "内容json", example = "1")
    @NotNull(message="过程不能为空")
    private String content;

    @Schema(description = "图片", example = "1")
    private String picUrl;

    @Schema(description = "视频记录", example = "1")
    private String videoUrl;
}
